#pragma once
#include "string"
using namespace std;

static class Util
{
public:
	Util(void);
	~Util(void);

public:
	static string trainingFilePath;
	static string testingFilePath;
	static int n_dimension;
	static int n_class;
	static int n_trainingRecord;
	static int n_testingRecord;
	static int n_midLayerNode;
	static double learningRate;
	static double misclassificationRate;
	static bool doPrintPredictionResult;

	//static string trainingMidFilePath;
	//static string testingMidFilePath;

public:
	//static void init(string trainingFilePath, string testingFilePath, 
	//	int n_dimension, int n_class, int n_trainingRecord, int n_testingRecord, int n_midLayerNode,
	//	double learningRate, double misclassificationRate, bool doPrintPredictionResult);
	static string char_p_To_string(char* strIn);
	static string char_p_To_string(char* strIn, string &strOut);
	static int char_p_To_int(char* strIn);
	static double char_p_To_double(char* strIn);
	static bool char_p_To_bool(char* strIn);
};
